package com.hailian.fintech.hlbackingserver.service.impl;

import com.hailian.fintech.hlbackingserver.entity.Bank;
import com.hailian.fintech.hlbackingserver.mapper.BankMapper;
import com.hailian.fintech.hlbackingserver.service.IBankService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wk
 * @since 2020-05-30
 */
@Service
public class BankServiceImpl extends ServiceImpl<BankMapper, Bank> implements IBankService {

    @Autowired
    private BankMapper bankMapper;
    @Override
    public List<Bank> getByUid(Integer id) {
        return bankMapper.getByUid(id);
    }
}
